//package org.jeecg.config.task;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
//
///**
// * @ClassName: SchedulerConfig
// * @Description:
// * @Author: 墨渍
// * @Date: 2025/4/17 9:34
// **/
//@Configuration
//public class SchedulerConfig {
//
//    @Bean
//    public ThreadPoolTaskScheduler taskScheduler() {
//        ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler();
//        scheduler.setPoolSize(10);
//        scheduler.setThreadNamePrefix("task-");
//        scheduler.initialize();
//        return scheduler;
//    }
//}
